package predatorpreytest.fake;

import PredatorPrey.Wolf;

/**
 * An extension of the {@code Wolf} class for test purposes. Some of the
 * behaviors of the wolf like shuffle move is not applicable for test scenarios.
 * 
 * @author İbrahim Çakırlar
 * 
 */
public class FakeWolf extends Wolf {

	/**
	 * This value is added for test case execution control without any change in
	 * the simulation scenario.
	 */
	private boolean shuffleMove = false;

	@Override
	public void move() {
		if (shuffleMove) {
			super.move();
		}
	}

	public void setShuffleMove(boolean shuffleMove) {
		this.shuffleMove = shuffleMove;
	}

	public boolean isShuffleMove() {
		return shuffleMove;
	}

}
